package com.open.capacity.task.service;

import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import com.open.capacity.task.model.TaskType;

import java.util.Map;

public interface TaskTypeService {
    PageResult<TaskType> getTaskType(Map<String, Object> params);

    Result add(TaskType taskType);

    Result del(String id);

    Result edit(TaskType taskType);
}
